mirror of
https://github.com/aseprite/aseprite.git
synced 2025-04-16 14:42:44 +00:00
Merge branch 'dev' of git@github.com:dacap/aseprite.git into dev
This commit is contained in:
commit
88d8235e86
@ -173,6 +173,10 @@ int App::run()
|
||||
|
||||
// Redraw the whole screen.
|
||||
ui::Manager::getDefault()->invalidate();
|
||||
|
||||
// 2013-11-19 - JRM - Force setting active view to NULL, workaround for setting
|
||||
// window title to proper devault value. (Issue #285)
|
||||
UIContext::instance()->setActiveView(NULL);
|
||||
}
|
||||
|
||||
// Set background mode for non-GUI modes
|
||||
|
@ -171,7 +171,7 @@ void OptionsCommand::onExecute(Context* context)
|
||||
void OptionsCommand::onResetCheckedBg()
|
||||
{
|
||||
// Default values
|
||||
m_checked_bg->setSelectedItem((int)RenderEngine::CHECKED_BG_16X16);
|
||||
m_checked_bg->setSelectedItemIndex((int)RenderEngine::CHECKED_BG_16X16);
|
||||
m_checked_bg_zoom->setSelected(true);
|
||||
m_checked_bg_color1->setColor(app::Color::fromRgb(128, 128, 128));
|
||||
m_checked_bg_color2->setColor(app::Color::fromRgb(192, 192, 192));
|
||||
|
@ -202,6 +202,8 @@ void MainWindow::onActiveViewChange()
|
||||
{
|
||||
if (DocumentView* docView = dynamic_cast<DocumentView*>(m_workspace->getActiveView()))
|
||||
UIContext::instance()->setActiveView(docView);
|
||||
else
|
||||
UIContext::instance()->setActiveView(NULL);
|
||||
}
|
||||
|
||||
void MainWindow::clickTab(Tabs* tabs, TabView* tabView, ui::MouseButtons buttons)
|
||||
|
Loading…
x
Reference in New Issue
Block a user