Summary: | Assertion failure when discarding changes in Custom BuildSystem settings. | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | Francis Herne <mail> |
Component: | BuildSystem: Custom BuildSystems | Assignee: | kdevelop-bugs-null |
Status: | RESOLVED FIXED | ||
Severity: | crash | ||
Priority: | NOR | ||
Version First Reported In: | 5.1.0 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/kdevelop/e88622395a875b305796d573b44edc8d62f7f79a | Version Fixed In: | 5.1.0 |
Sentry Crash Report: |
Description
Francis Herne
2017-02-15 23:16:45 UTC
Git commit e88622395a875b305796d573b44edc8d62f7f79a by Francis Herne. Committed on 10/03/2017 at 23:25. Pushed by flherne into branch '5.1'. CustomBuildSystemConfigWidget: clear configs before reloading. `loadFrom()` is called on an already-loaded widget when resetting, for example after choosing "Discard" when changing to another config page. The existing configs must be cleared before loading new ones. In debug mode, this caused a crash due to a later assertion failure: Otherwise, duplicate configs seem likely to cause some glitches. M +1 -0 projectmanagers/custom-buildsystem/custombuildsystemconfigwidget.cpp https://commits.kde.org/kdevelop/e88622395a875b305796d573b44edc8d62f7f79a |