diff options
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:: |