mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-03-01 21:07:12 -05:00
UI: Disable drag/drop on Linux scenes/sources (for now)
Due to a Qt issue on Linux, disable drag/drop on the scenes/sources list on Linux for the time being.
This commit is contained in:
@@ -233,6 +233,11 @@ OBSBasic::OBSBasic(QWidget *parent)
|
||||
ui->previewDisabledWidget->setVisible(false);
|
||||
ui->contextContainer->setStyle(new OBSProxyStyle);
|
||||
|
||||
/* XXX: Disable drag/drop on Linux until Qt issues are fixed */
|
||||
#if !defined(_WIN32) && !defined(__APPLE__)
|
||||
ui->scenes->setDragDropMode(QAbstractItemView::NoDragDrop);
|
||||
#endif
|
||||
|
||||
startingDockLayout = saveState();
|
||||
|
||||
statsDock = new OBSDock();
|
||||
|
||||
Reference in New Issue
Block a user