mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-23 18:32:53 +00:00
okular: do not show the forms message if form actions are not enabled
was showing an empty message with two buttons at start when something to open was not specified, the check now matches the one done in Okular::Part::openFile() Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
bf3570e2a8
commit
a2b8bfaaa9
1 changed files with 1 additions and 1 deletions
|
@ -2709,7 +2709,7 @@ void Part::unsetDummyMode()
|
|||
|
||||
// attach the actions of the children widgets too
|
||||
m_formsMessage->addAction( m_pageView->toggleFormsAction() );
|
||||
m_formsMessage->setVisible( m_pageView->toggleFormsAction() != 0 );
|
||||
m_formsMessage->setVisible( m_pageView->toggleFormsAction() != 0 && m_pageView->toggleFormsAction()->isEnabled() );
|
||||
|
||||
// ensure history actions are in the correct state
|
||||
updateViewActions();
|
||||
|
|
Loading…
Add table
Reference in a new issue