| Summary: | Quanta crashes when removing selector in the CSS selector dialog ! | ||
|---|---|---|---|
| Product: | [Unmaintained] quanta | Reporter: | Glennie Vignarajah <glennie> |
| Component: | general | Assignee: | András Manţia <amantia> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Glennie Vignarajah
2005-03-19 19:49:09 UTC
CVS commit by amantia:
Don't crash when Selected is pressed and nothing is selected (in the CSS editor).
BUG: 101919
M +1 -1 quanta.kdevelop 1.326
M +1 -1 components/csseditor/cssselector.cpp 1.18
--- kdewebdev/quanta/quanta.kdevelop #1.325:1.326
@@ -164,5 +164,5 @@
<tree>
<hidenonprojectfiles>false</hidenonprojectfiles>
- <hidepatterns></hidepatterns>
+ <hidepatterns/>
<showvcsfields>true</showvcsfields>
</tree>
--- kdewebdev/quanta/components/csseditor/cssselector.cpp #1.17:1.18
@@ -306,6 +306,6 @@ void CSSSelector::removeAll(){
void CSSSelector::removeSelected(){
- m_currentStylesheetStructure.remove(m_currentItem->text(0));
if( m_currentItem ) {
+ m_currentStylesheetStructure.remove(m_currentItem->text(0));
delete m_currentItem;
// m_currentItem = 0L;
|