Merge branch 'nginth-singleoptioncrash'
This commit is contained in:
commit
7c89f0c024
@ -64,6 +64,7 @@ Fixed
|
|||||||
primary selection
|
primary selection
|
||||||
- Don't display quit confirmation with finished downloads
|
- Don't display quit confirmation with finished downloads
|
||||||
- Fixed updating the tab index in the statusbar when opening a background tab
|
- Fixed updating the tab index in the statusbar when opening a background tab
|
||||||
|
- Fixed a crash when entering `:-- ` in the commandline
|
||||||
|
|
||||||
v0.6.2
|
v0.6.2
|
||||||
------
|
------
|
||||||
|
@ -179,6 +179,7 @@ Contributors, sorted by the number of commits in descending order:
|
|||||||
* rikn00
|
* rikn00
|
||||||
* kanikaa1234
|
* kanikaa1234
|
||||||
* haitaka
|
* haitaka
|
||||||
|
* Nick Ginther
|
||||||
* Michael Ilsaas
|
* Michael Ilsaas
|
||||||
* Martin Zimmermann
|
* Martin Zimmermann
|
||||||
* Brian Jackson
|
* Brian Jackson
|
||||||
@ -194,7 +195,6 @@ Contributors, sorted by the number of commits in descending order:
|
|||||||
* Ismail
|
* Ismail
|
||||||
* Samir Benmendil
|
* Samir Benmendil
|
||||||
* Regina Hug
|
* Regina Hug
|
||||||
* Nick Ginther
|
|
||||||
* Mathias Fussenegger
|
* Mathias Fussenegger
|
||||||
* Marcelo Santos
|
* Marcelo Santos
|
||||||
* Jan Verbeek
|
* Jan Verbeek
|
||||||
|
@ -204,6 +204,8 @@ class Completer(QObject):
|
|||||||
parts, cursor_part = self._filter_cmdline_parts(parts, cursor_part)
|
parts, cursor_part = self._filter_cmdline_parts(parts, cursor_part)
|
||||||
log.completion.debug("After filtering flags: parts {}, cursor_part "
|
log.completion.debug("After filtering flags: parts {}, cursor_part "
|
||||||
"{}".format(parts, cursor_part))
|
"{}".format(parts, cursor_part))
|
||||||
|
if not parts:
|
||||||
|
return None
|
||||||
if cursor_part == 0:
|
if cursor_part == 0:
|
||||||
# '|' or 'set|'
|
# '|' or 'set|'
|
||||||
model = instances.get(usertypes.Completion.command)
|
model = instances.get(usertypes.Completion.command)
|
||||||
|
@ -431,3 +431,9 @@ Feature: Various utility commands.
|
|||||||
Given I have a fresh instance
|
Given I have a fresh instance
|
||||||
When I run :messages
|
When I run :messages
|
||||||
Then the page should contain the plaintext "No messages to show."
|
Then the page should contain the plaintext "No messages to show."
|
||||||
|
|
||||||
|
## https://github.com/The-Compiler/qutebrowser/issues/1523
|
||||||
|
|
||||||
|
Scenario: Completing a single option argument
|
||||||
|
When I run :set-cmd-text -s :--
|
||||||
|
Then no crash should happen
|
||||||
|
Loading…
Reference in New Issue
Block a user