mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-01 15:15:13 +00:00
Disable saveAs in media viewer if restricted.
This commit is contained in:
@@ -1515,6 +1515,9 @@ void OverlayWidget::notifyFileDialogShown(bool shown) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void OverlayWidget::saveAs() {
|
void OverlayWidget::saveAs() {
|
||||||
|
if (showCopyRestriction()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
QString file;
|
QString file;
|
||||||
if (_document) {
|
if (_document) {
|
||||||
const auto &location = _document->location(true);
|
const auto &location = _document->location(true);
|
||||||
|
Reference in New Issue
Block a user