forked from mia/Aegisub
Fix odd behavior when switching active lines with the Effect or Actor boxes focused
Originally committed to SVN as r6357.
This commit is contained in:
parent
f8c27feedb
commit
e7307d249e
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ public:
|
|||
///
|
||||
/// If new_value is empty, the control will switch to placeholder mode
|
||||
void ChangeValue(wxString new_value) {
|
||||
if (new_value.empty()) {
|
||||
if (new_value.empty() && !this->HasFocus()) {
|
||||
is_placeholder = true;
|
||||
new_value = placeholder;
|
||||
BaseCtrl::SetForegroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_GRAYTEXT));
|
||||
|
|
Loading…
Reference in a new issue