initialize m_state
This commit is contained in:
parent
857e96049b
commit
7875a103b7
1 changed files with 2 additions and 1 deletions
|
@ -35,7 +35,8 @@ namespace {
|
|||
class ToggleFrameFocusCmd: public FbTk::Command {
|
||||
public:
|
||||
ToggleFrameFocusCmd(WinClient &client):
|
||||
m_client(client) {}
|
||||
m_client(client),
|
||||
m_state(false) {}
|
||||
void execute() {
|
||||
m_state ^= true;
|
||||
m_client.fbwindow()->setLabelButtonFocus(m_client, m_state);
|
||||
|
|
Loading…
Reference in a new issue