Skip to content

Commit

Permalink
Merge pull request obsproject#1262 from Andersama/patch-12
Browse files Browse the repository at this point in the history
UI: Disable paste filters unless a source is selected
  • Loading branch information
jp9000 authored Apr 23, 2018
2 parents bc7a779 + 22520c2 commit 9a1c27a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions UI/window-basic-main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3910,6 +3910,8 @@ void OBSBasic::CreateSourcePopupMenu(QListWidgetItem *item, bool preview)

ui->actionCopyFilters->setEnabled(true);
ui->actionCopySource->setEnabled(true);
} else {
ui->actionPasteFilters->setEnabled(false);
}

popup.exec(QCursor::pos());
Expand Down

0 comments on commit 9a1c27a

Please sign in to comment.