Skip to content

Commit

Permalink
mainwindow: Fix crash when trying to copy booru post url
Browse files Browse the repository at this point in the history
Small oversight from pr #43
  • Loading branch information
ahodesuka committed Nov 21, 2017
1 parent c70aca4 commit 1996fa6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/mainwindow.cc
Original file line number Diff line number Diff line change
Expand Up @@ -669,6 +669,7 @@ void MainWindow::set_sensitives()
m_ActionGroup->get_action("SaveImages")->set_sensitive(booru && !page->get_imagelist()->empty());
m_ActionGroup->get_action("ViewPost")->set_sensitive(booru && !page->get_imagelist()->empty());
m_ActionGroup->get_action("CopyImageURL")->set_sensitive(booru && !page->get_imagelist()->empty());
m_ActionGroup->get_action("CopyPostURL")->set_sensitive(booru && !page->get_imagelist()->empty());
}

void MainWindow::update_title()
Expand Down
2 changes: 1 addition & 1 deletion src/settings.cc
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ SettingsManager::SettingsManager()
{ "SaveImages", "<Primary><Shift>s" },
{ "ViewPost", "<Primary><Shift>o" },
{ "CopyImageURL", "y" },
{ "CopyPostURL", "<Primary>y" },
{ "CopyPostURL", "<Primary>y" },
}
}
}),
Expand Down

0 comments on commit 1996fa6

Please sign in to comment.