Skip to content
Browse files

Quick unshow operator in views

  • Loading branch information...
1 parent ad06eff commit c0aaa1f2a345dceba1aca2aebb75cdc55a3a1b40 @fredakilla fredakilla committed Apr 25, 2012
Showing with 6 additions and 2 deletions.
  1. +6 −2 werkkzeug3/winpage.cpp
View
8 werkkzeug3/winpage.cpp
@@ -1709,12 +1709,16 @@ sBool WinPage::OnCommand(sU32 cmd)
App->SetStat(STAT_MESSAGE,"");
if(EditOp)
App->ViewWin->SetObject(EditOp);
+ else
+ App->ViewWin->SetOff();
return sTRUE;
case CMD_PAGE_SHOW2:
- App->SetStat(STAT_MESSAGE,"");
- if(EditOp)
+ App->SetStat(STAT_MESSAGE,"");
+ if(EditOp)
App->ViewWin2->SetObject(EditOp);
+ else
+ App->ViewWin2->SetOff();
return sTRUE;
case CMD_PAGE_SHOWROOT:

0 comments on commit c0aaa1f

Please sign in to comment.
Something went wrong with that request. Please try again.