diff options
| author | Bent Bisballe Nyeng <deva@aasimon.org> | 2019-09-29 15:05:32 +0200 | 
|---|---|---|
| committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2019-09-29 15:05:32 +0200 | 
| commit | 6f88fd56fae4317306c4134f5854fe1b5379d075 (patch) | |
| tree | 12085cda4d5543a5317ee200b5e72c751ec92c32 /plugingui | |
| parent | 9d1ea1e7cfa256c7f5cac027382d92f658734ccb (diff) | |
Show load errors/warnings under the resta of the status fields in the UI.
Diffstat (limited to 'plugingui')
| -rw-r--r-- | plugingui/statusframecontent.cc | 6 | ||||
| -rw-r--r-- | plugingui/statusframecontent.h | 1 | 
2 files changed, 5 insertions, 2 deletions
| diff --git a/plugingui/statusframecontent.cc b/plugingui/statusframecontent.cc index d457dee..2dc8420 100644 --- a/plugingui/statusframecontent.cc +++ b/plugingui/statusframecontent.cc @@ -73,7 +73,8 @@ void StatusframeContent::updateContent()  		"Drumkit description:   " + drumkit_description + "\n"  		// "Drumkit version:   " + drumkit_version + "\n"  		"Session buffer size:   " + buffer_size + "\n" -		"Number of underruns: " + number_of_underruns + "\n" +		"Number of underruns: " + number_of_underruns + "\n" + +		messages  	);  } @@ -156,7 +157,8 @@ void StatusframeContent::updateNumberOfUnderruns(std::size_t number_of_underruns  void StatusframeContent::loadStatusTextChanged(const std::string& text)  { -	text_field.setText(text); +	messages = text; +	updateContent();  }  } // GUI:: diff --git a/plugingui/statusframecontent.h b/plugingui/statusframecontent.h index dd44907..998e87c 100644 --- a/plugingui/statusframecontent.h +++ b/plugingui/statusframecontent.h @@ -66,6 +66,7 @@ private:  	std::string midimap_load_status;  	std::string buffer_size;  	std::string number_of_underruns; +	std::string messages;  };  } // GUI:: | 
