diff --git a/retroshare-gui/src/gui/MessengerWindow.cpp b/retroshare-gui/src/gui/MessengerWindow.cpp index 37f7a85f6..18be83053 100644 --- a/retroshare-gui/src/gui/MessengerWindow.cpp +++ b/retroshare-gui/src/gui/MessengerWindow.cpp @@ -1129,13 +1129,13 @@ void MessengerWindow::getAvatar() /** Loads own personal status message */ void MessengerWindow::loadmystatusmessage() { - ui.messagelineEdit->setText(QString::fromStdString(rsMsgs->getCustomStateString())); + ui.messagelineEdit->setEditText( QString::fromStdString(rsMsgs->getCustomStateString())); } /** Save own status message */ void MessengerWindow::savestatusmessage() { - rsMsgs->setCustomStateString(ui.messagelineEdit->text().toStdString()); + rsMsgs->setCustomStateString(ui.messagelineEdit->currentText().toStdString()); } void MessengerWindow::updateOwnStatus(const QString &peer_id, int status) diff --git a/retroshare-gui/src/gui/MessengerWindow.ui b/retroshare-gui/src/gui/MessengerWindow.ui index ecd7cbd87..11545423b 100644 --- a/retroshare-gui/src/gui/MessengerWindow.ui +++ b/retroshare-gui/src/gui/MessengerWindow.ui @@ -6,7 +6,7 @@ 0 0 - 221 + 258 482 @@ -86,47 +86,45 @@ stop:0 #05538B, stop:1 #E4F1E5); - - - - - 0 - 0 - + + + + true + + + + 0 - 0 + 16 - - - 11 - - - QPushButton:hover { + QPushButton { + text-align: left; +} +QPushButton:hover { border: 2px solid #8f8f91; border-radius: 6px; background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #f6f7fa, stop: 1 #dadbde); min-width: 80px; - } - - QPushButton:pressed { +} +QPushButton:pressed { background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #dadbde, stop: 1 #f6f7fa); - } +} - QPushButton:flat { +QPushButton:flat { border: none; /* no border for a flat push button */ - } +} - QPushButton:default { +QPushButton:default { border-color: navy; /* make the default button prominent */ - } +} @@ -136,16 +134,6 @@ stop:0 #05538B, stop:1 #E4F1E5); - - - - Change your Personal Status here... - - - border: 1px solid #CCCCCC; - - - @@ -169,7 +157,7 @@ stop:0 #05538B, stop:1 #E4F1E5); 16777215 - 38 + 32 @@ -193,7 +181,7 @@ border-bottom: 1px solid #CCCCCC; - 6 + 2 @@ -444,7 +432,7 @@ border: 1px solid #CCCCCC; 0 0 - 221 + 258 20