mirror of
https://github.com/ONLYOFFICE/desktop-apps.git
synced 2026-04-07 14:09:22 +08:00
Fixed switching to a tab with a document open using Drag'n'Drop
This commit is contained in:
@ -702,7 +702,7 @@ int CAscTabWidget::openLocalDocument(const COpenOptions& options, bool select, b
|
||||
}
|
||||
|
||||
if (select && !(tabIndex < 0))
|
||||
m_pBar->setCurrentIndex(tabIndex);
|
||||
setCurrentIndex(tabIndex);
|
||||
|
||||
/* TODO: rise message if index < 0 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user