Commit f8142e2
committed
Add setting to disable live clipboard updates in preview dialog
Added a new setting "Disable live clipboard update" that prevents the preview
and filename fields from automatically updating when the clipboard changes while
the dialog is open. This allows users to safely edit filenames or copy text to
use as filenames without the dialog being overwritten by new clipboard content.
Changes:
- Added disableLiveClipboardUpdate setting (default: false) to Settings.settings
- Added property accessor in Settings.Designer.cs
- Added menu item to settings context menu in Wizard.Designer.cs
- Added handler menuDisableLiveClipboardUpdate_CheckedChanged in Wizard.cs
- Modified ClipboardChanged in Dialog.cs to check setting and return early if enabled
- Added resource strings str_disable_live_clipboard_update and tooltip
The setting is accessible via the settings menu (gear icon) in the Wizard dialog.
When enabled, clipboard changes are ignored while the preview/rename dialog is open,
preventing the preview and filename fields from being overwritten.1 parent b1dbace commit f8142e2
File tree
6 files changed
+42
-0
lines changed- PasteIntoFile
- Properties
6 files changed
+42
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
288 | 293 | | |
289 | 294 | | |
290 | 295 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
280 | 287 | | |
281 | 288 | | |
282 | 289 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
53 | 56 | | |
54 | 57 | | |
55 | 58 | | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
| 186 | + | |
186 | 187 | | |
187 | 188 | | |
188 | 189 | | |
| |||
203 | 204 | | |
204 | 205 | | |
205 | 206 | | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
206 | 214 | | |
207 | 215 | | |
208 | 216 | | |
| |||
0 commit comments