Skip to content

Commit

Permalink
Fix tView actions
Browse files Browse the repository at this point in the history
  • Loading branch information
hexabits committed Sep 12, 2023
1 parent a9b2183 commit d0a460c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
10 changes: 9 additions & 1 deletion src/nifskope_ui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -395,12 +395,20 @@ void NifSkope::initDockWidgets()

ui->menuShow->addAction(dList->toggleViewAction());
ui->menuShow->addAction(dTree->toggleViewAction());
ui->menuShow->addAction(dBrowser->toggleViewAction());
ui->menuShow->addAction(dHeader->toggleViewAction());
ui->menuShow->addAction(dBrowser->toggleViewAction());
ui->menuShow->addAction(dInsp->toggleViewAction());
ui->menuShow->addAction(dKfm->toggleViewAction());
ui->menuShow->addAction(dRefr->toggleViewAction());

ui->tView->addAction(dList->toggleViewAction());
ui->tView->addAction(dTree->toggleViewAction());
ui->tView->addAction(dHeader->toggleViewAction());
ui->tView->addAction(dBrowser->toggleViewAction());
ui->tView->addAction(dInsp->toggleViewAction());
ui->tView->addAction(dKfm->toggleViewAction());
ui->tView->addAction(dRefr->toggleViewAction());

// Set Inspect widget
dInsp->setWidget( inspect );

Expand Down
6 changes: 0 additions & 6 deletions src/ui/nifskope.ui
Original file line number Diff line number Diff line change
Expand Up @@ -175,12 +175,6 @@
<attribute name="toolBarBreak">
<bool>false</bool>
</attribute>
<addaction name="aToggleBlockList"/>
<addaction name="aToggleBlockDetails"/>
<addaction name="aToggleHeader"/>
<addaction name="aToggleInspect"/>
<addaction name="aToggleKfm"/>
<addaction name="aToggleHelp"/>
</widget>
<widget class="QMenuBar" name="menubar">
<property name="geometry">
Expand Down

0 comments on commit d0a460c

Please sign in to comment.